package com.aizhixin.lab.project.template.domain;

import com.aizhixin.lab.task.domain.TaskFileDomain;
import com.aizhixin.lab.task.domain.TaskQuestionChoiceDomain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;
@Data
public class ExercisesDomain {
    @ApiModelProperty(value="试题id")
    private String id;

    @ApiModelProperty(value="任务id")
    private String taskId;

    @ApiModelProperty(value="题干")
    private String questionContent;

    @ApiModelProperty(value="解析")
    private String analysis;

    @ApiModelProperty(value="正确答案")
    private String answer;

    @ApiModelProperty(value="试题排序")
    private Integer orderNum;

    @ApiModelProperty(value="代码行数")
    private String codeRowNum;

    @ApiModelProperty(value="试题类型(10:单选题,20:多选题,30:判断题,40:论述题,50:计算题,60:编程题,70:简答题,80:画图题,90:其他)")
    private Integer questionType;

    @ApiModelProperty(value="回答语言")
    private String language;

    @ApiModelProperty(value="参考代码")
    private String referenceCode;

    @ApiModelProperty(value="关键字（多个关键字以逗号分隔）")
    private String keyword;

    @ApiModelProperty(value="代码运行结果")
    private String runResult;
    @ApiModelProperty(value="编程运行代码")
    private String runCode;
    @ApiModelProperty(value = "代码建议")
    private String codeAdvise;

    @ApiModelProperty(value="试题题干附件集合")
    private List<ExercisesFileDomain> accessorylist = new ArrayList<ExercisesFileDomain>();

    @ApiModelProperty(value="试题答案附件集合")
    private List<ExercisesFileDomain> accessorylistAnswer = new ArrayList<ExercisesFileDomain>();

    @ApiModelProperty(value="试题解析附件集合")
    private List<ExercisesFileDomain> accessorylistAna = new ArrayList<ExercisesFileDomain>();

    @ApiModelProperty(value="试题客观题选项集合")
    private List<ExercisesQuestionChoiceDomain> choicelist = new ArrayList<ExercisesQuestionChoiceDomain>();
    @ApiModelProperty(value="学生答案")
    private String stuAnswer;
}
